home *** CD-ROM | disk | FTP | other *** search
- IEOR(3I) Last changed: 1-6-98
-
-
- NNAAMMEE
- IIEEOORR - Performs an exclusive OORR
-
- SSYYNNOOPPSSIISS
- IIEEOORR (([II==]_i,, [JJ==]_j))
-
- IIMMPPLLEEMMEENNTTAATTIIOONN
- UNICOS, UNICOS/mk, and IRIX systems
-
- SSTTAANNDDAARRDDSS
- Fortran 90
-
- DDEESSCCRRIIPPTTIIOONN
- The IIEEOORR intrinsic function performs an exclusive OORR. It accepts the
- following arguments:
-
- _i Must be of type integer
-
- _j Must be of type integer with the same kind type parameter as _i
-
- IIEEOORR is an elemental function. The name of this intrinsic cannot be
- passed as an argument.
-
- RREETTUURRNN VVAALLUUEESS
- The result type and type parameter are the same as _i. The result has
- the value obtained by combining _i and _j bit-by-bit according to the
- following truth table:
-
- -----------------
- IIEEOORR (_i,
- _i _j _j)
- -----------------
- 1 1 0
- 1 0 1
- 0 1 1
- 0 0 0
- -----------------
-
- The bit model defines the interpretation of an integer value as a
- sequence of bits. For more information on the bit model, see the
- MMOODDEELLSS(3I) man page.
-
- EEXXAAMMPPLLEESS
- IIEEOORR((11,, 33)) has the value 2.
-
- SSEEEE AALLSSOO
- MMOODDEELLSS(3I)
-
- _I_n_t_r_i_n_s_i_c _P_r_o_c_e_d_u_r_e_s _R_e_f_e_r_e_n_c_e _M_a_n_u_a_l, publication SR-2138, for the
- printed version of this man page.
-
-